/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

/**
 * @author JoseHernan Created on : 30-sep-2014, 22:52:04
 */
public class B_RolPermiso {

    private int id;
    private String user;
    private B_AccionPagina objAccionPagina;
    private B_Rol objRol;

    public B_RolPermiso() {
        this.id = 0;
        this.user = "";
        this.objAccionPagina = new B_AccionPagina();
        this.objRol = new B_Rol();
    }

    public B_RolPermiso(int id, String user, B_AccionPagina objAccionPagina, B_Rol objRol) {
        this.id = id;
        this.user = user;
        this.objAccionPagina = objAccionPagina;
        this.objRol = objRol;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public B_AccionPagina getObjAccionPagina() {
        return objAccionPagina;
    }

    public void setObjAccionPagina(B_AccionPagina objAccionPagina) {
        this.objAccionPagina = objAccionPagina;
    }

    public B_Rol getObjRol() {
        return objRol;
    }

    public void setObjRol(B_Rol objRol) {
        this.objRol = objRol;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
